﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Module
{
    /// <summary>
    /// 文章
    /// </summary>
    [Serializable]
    public class PaperInfo
    {
        #region Model
        private long _paperid;
        private long _userpassportid;
        private string _subject;
        private string _body;
        private int _type;
        private int _totalview;
        private int _totalreplay;
        private int _istop;
        private int _isfamousregion;
        private int _isAllowComment;
        private int _status;
        private DateTime _lastupdate;
        private DateTime _datecreated;
        /// <summary>
        /// 文章Id
        /// </summary>
        public long PaperId
        {
            set { _paperid = value; }
            get { return _paperid; }
        }
        /// <summary>
        /// 用户Id
        /// </summary>
        public long UserPassportId
        {
            set { _userpassportid = value; }
            get { return _userpassportid; }
        }
        /// <summary>
        /// 主题
        /// </summary>
        public string Subject
        {
            set { _subject = value; }
            get { return _subject; }
        }
        /// <summary>
        /// 正文
        /// </summary>
        public string Body
        {
            set { _body = value; }
            get { return _body; }
        }
        /// <summary>
        /// 文章类型
        /// </summary>
        public int Type
        {
            set { _type = value; }
            get { return _type; }
        }
        /// <summary>
        /// 浏览数
        /// </summary>
        public int TotalView
        {
            set { _totalview = value; }
            get { return _totalview; }
        }
        /// <summary>
        /// 回复数
        /// </summary>
        public int TotalReplay
        {
            set { _totalreplay = value; }
            get { return _totalreplay; }
        }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public int IsTop
        {
            set { _istop = value; }
            get { return _istop; }
        }
        /// <summary>
        /// 是否是名人专区文章
        /// </summary>
        public int isFamousRegion
        {
            set { _isfamousregion = value; }
            get { return _isfamousregion; }
        }
        /// <summary>
        /// 是否允许发表评论 0-不允许；1-允许
        /// </summary>
        public int IsAllowComment
        {
            set { _isAllowComment = value; }
            get { return _isAllowComment; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime LastUpdate
        {
            set { _lastupdate = value; }
            get { return _lastupdate; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime DateCreated
        {
            set { _datecreated = value; }
            get { return _datecreated; }
        }

        private string _bak1;
        private string _bak2;
        private string _bak3;
        /// <summary>
        /// 
        /// </summary>
        public string Bak1
        {
            set { _bak1 = value; }
            get { return _bak1; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Bak2
        {
            set { _bak2 = value; }
            get { return _bak2; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Bak3
        {
            set { _bak3 = value; }
            get { return _bak3; }
        }
        #endregion Model
    }
}
